package com.tfswue.springboot_demo02;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.tfswue.springboot_demo02.mapper")
@EnableScheduling //开启定时任务
@EnableCaching
@SpringBootApplication
public class SpringbootDemo02Application {

	public static void main(String[] args) {
		var info = SpringApplication.run(SpringbootDemo02Application.class, args);
///*		SpringApplication.run(SpringbootDemo02Application.class, args);
//		String[] beanDefinitionNames = info.getBeanDefinitionNames();
//
//		for (String beanDefinitionName : beanDefinitionNames) {
//			System.out.println(beanDefinitionName);
//		}*/
	}

}
